package com.leejw.tradeblogsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leejw.tradeblogsystem.model.Article;

import java.util.List;

public interface ArticleMapper  extends BaseMapper<Article> {


    List<Article> queryAll();

    List<Article> findArticle(String createTime);

    List<Article> findRecommendArticle();

    Article findArticleById(Integer id);
}
